#!/bin/sh

if [ $# -eq 0 ]; then
	echo "`basename $0` <file-name>"
else
	if iconv -f GBK -t UTF-8 "$1" > "$1_utf-8.txt"; then
		mv -f "$1_utf-8.txt" "$1"
	fi
fi
